﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace PFM.Entities
{
    [DataContract]
    public enum ItemType
    {
        IN,
        OUT,
        /// <summary>
        /// 不确定
        /// </summary>
        UNCERTAINTY
    }

    [DataContract]
    public class Item : EntityBase
    {
        [DataMember]
        public int Type { get; set; }
        [DataMember]
        public double Price { get; set; }
        [DataMember]
        public string Description { get; set; }
        [DataMember]
        public string TranDate { get; set; }
        [DataMember]
        public string Remark { get; set; }
    }

    //public class ItemIn : Item
    //{
    //    public DateTime ObtainDate { get; set; }
    //}

    //public class ItemOut : Item
    //{
    //    public DateTime PayDate { get; set; }
    //}
}
